package ng.map;

import java.io.IOException;

import ng.graphics.Animation;
import ng.graphics.FrameBuffer;
import ng.lib.Vector2D;

public class Brick extends MapObjectStatic {
	private static FrameBuffer frames;
	static {
		try {
			frames = new FrameBuffer(new String[]{"data/textures/stone/stone1.png"});
		} catch (IOException e) {
			System.err.println("An image isn't at the right place");
			e.printStackTrace();
		}
	}

	public Brick(Vector2D p) {
		super();
		this.animation = new Animation(frames, 1);
		this.position = p;
		this.mass = 15;

	}
}
